<div id="comments">
	<h2>
	<% if @blog.blog_comments_count == 0 %>
	"<%= h @blog.title %>"没有评论
	<% else %>
    "<%= h @blog.title %>"有<%= @blog.blog_comments_count %>条评论:
	<% end %>
	</h2>
    <ol id="commentlist">
        <% @blog.blog_comments.each do |c| %>
        <li>
            <cite>
            	<% if c.user_id %>
					<%= link_to h(c.user.login), "http://#{c.user.login}.beyondrails.com" %>
				<% else %>
            		<%= link_to h(c.name), c.site %>
				<% end %>
			</cite>说:
            <br/>
            <%= c.created_at.strftime("%Y年%m月%d日 %I:%m %p") %>
            <div class="commentbody">
            	<div>
                	<%= h c.content %>
				</div>
            </div>
        </li>
        <% end %>
    </ol>
</div>
<br/>
<%= render :partial => "blog_comments/comment_form" %>